-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vimode: handle fold and margin click event #1349
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. There's just the minor formatting issue plus I noticed that right now there's a merge conflict, probably because of the other vimode PR I merged - would you have a look at that?
You can just squash the result into one commit, I don't expect any more problems.
vimode/src/vi.c
Outdated
@@ -306,6 +306,14 @@ gboolean vi_notify_sci(SCNotification *nt) | |||
} | |||
} | |||
|
|||
if (nt->nmhdr.code == SCN_MARGINCLICK) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just { on a separate line.
2c473da
to
ba05577
Compare
@scresto09 You seem to have accidentally pushed the commit together with the already merged pull request - could you fix that? |
ba05577
to
d861058
Compare
d861058
to
fade2b7
Compare
Is it better now ? |
Yep, looks good, merged. |
Thanks |
Automatically set the cursor position on the visible line on SCN_MARGINCLICK event